import request from '@/utils/request'

// 查询标签类型列表
export function listDzbqtype(query) {
  return request({
    url: '/system/dzbqtype/list',
    method: 'get',
    params: query
  })
}

// 查询标签类型详细
export function getDzbqtype(dzbqTypeId) {
  return request({
    url: '/system/dzbqtype/' + dzbqTypeId,
    method: 'get'
  })
}

// 新增标签类型
export function addDzbqtype(data) {
  return request({
    url: '/system/dzbqtype',
    method: 'post',
    data: data
  })
}

// 修改标签类型
export function updateDzbqtype(data) {
  return request({
    url: '/system/dzbqtype',
    method: 'put',
    data: data
  })
}

// 删除标签类型
export function delDzbqtype(dzbqTypeId) {
  return request({
    url: '/system/dzbqtype/' + dzbqTypeId,
    method: 'delete'
  })
}
